﻿Imports SACommon
Imports LiteDB

Public Class UpdateAppItem
    <BsonId>
    Public Property ApplicationID As Integer
    Public Property ApplicationTitle As String
    Public Property RepositoryServerURL As String
    Public Property RepositoryFolder As String
    Public Property DateTimeCreated As String
    Public Property CategoryID As Integer
    Public Property FileStatus As SAEventArgs.StatusCodes
    Public Property VersionStatus As SAEventArgs.StatusCodes
    Public Property DirectoryList As List(Of AppDirectory)
    Public Property InstallerVersion As String
    Public Property InstallerMD5 As String
    Public Property HelpVersion As String
    Public Property HelpMD5 As String
    Public Property FTPServerURL As String
    Public Property FTPUsername As String
    Public Property FTPPassword As String
    Sub New()
        ApplicationID = 0
        ApplicationTitle = ""
        RepositoryServerURL = ""
        DateTimeCreated = DateFunctions.GetDateTimeString(Now)
        CategoryID = 1
        DirectoryList = New List(Of AppDirectory)
        InstallerVersion = ""
        InstallerMD5 = ""
        FTPServerURL = ""
        FTPPassword = ""
        FTPUsername = ""
        RepositoryFolder = ""
        FileStatus = SAEventArgs.StatusCodes.NewItem
        VersionStatus = SAEventArgs.StatusCodes.NewItem
    End Sub
End Class
